import Vue from 'vue'
import {
  Tabbar,
  TabbarItem,
  Button,
  ActionSheet,
  Cell,
  Search,
  Notify,
  Empty,
  Skeleton,
  ContactCard,
  ContactList,
  ContactEdit,
  Icon,
  CellGroup,
  Field,
  Form,
  Picker,
  Popup,
  Image as VanImage,
  Row,
  Col,
  Pagination,
  Dialog,
  List,
  PullRefresh,
  SwipeCell,
  NoticeBar,
  Grid,
  GridItem,
  Swipe,
  SwipeItem,
  Card,
  Tag,
  Lazyload,
  Divider,
  NavBar,
  DropdownMenu,
  DropdownItem,
  Calendar,
  Uploader,
  Sidebar,
  SidebarItem,
  DatetimePicker,
  Rate
} from 'vant';

Vue.use(Row);
Vue.use(Col);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Button);
Vue.use(ActionSheet);
Vue.use(Cell);
Vue.use(Search);
Vue.use(Empty);
Vue.use(Skeleton);
Vue.use(ContactCard);
Vue.use(ContactList);
Vue.use(ContactEdit)
Vue.use(Icon)
Vue.use(CellGroup);
Vue.use(Field);
Vue.use(Form);
Vue.use(Picker);
Vue.use(Popup);
Vue.use(VanImage)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(List)
Vue.use(PullRefresh)
Vue.use(SwipeCell)
Vue.use(NoticeBar)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Card)
Vue.use(Tag)
Vue.use(Lazyload)
Vue.use(Divider)
Vue.use(NavBar)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Calendar)
Vue.use(Uploader)
Vue.use(Sidebar)
Vue.use(SidebarItem)
Vue.use(DatetimePicker)
Vue.use(Rate)
// Vue.prototype.$dialog = Dialog
Vue.prototype.$message = Notify